package com.filex.ads;

import android.content.Context;

import com.filex.ads.network.Networking;

public class FilexAd {

    private static volatile boolean sInitialized;

    private static boolean sTestMode = false;

    public static void initialize(Context context) {
        if (sInitialized) {
            return;
        }
        sInitialized = true;
        Networking.initialize(context);
    }

    public static void setTestMode(boolean forTest) {
        sTestMode = forTest;
    }

    public static boolean isTestMode() {
        return sTestMode;
    }
}
